#include <common/fileutil/fileutil.h>
#include <private/fileutil/fileutil_p.h>

bool FileUtil::zipFile(const std::string& srcPath, const std::string& destPath)
{
	return FileUtilPrivate::zipFile(srcPath, destPath);
}

bool FileUtil::unZipFile(const std::string& srcPath, const std::string& destPath)
{
	return FileUtilPrivate::unZipFile(srcPath, destPath);
}

std::vector<unsigned char> FileUtil::getFileBytes(const std::string& filePath)
{
	return FileUtilPrivate::getFileBytes(filePath);
}
QImage FileUtil::getImage(const std::string& filePath)
{
	return FileUtilPrivate::getImage(filePath);
}
QImage FileUtil::getFileIcon(const std::string& path)
{
	return FileUtilPrivate::getFileIcon(path);
}
// bool FileUtil::isUrl(const std::string& url)
// {
// 	return FileUtilPrivate::isUrl(url);
// }
